


package com.dingpeikeji.quickdeer.modules.rentproduct.dao;

import java.util.List;

import com.dingpeikeji.quickdeer.core.common.persistence.CrudDao;
import com.dingpeikeji.quickdeer.core.common.persistence.annotation.MyBatisDao;
import com.dingpeikeji.quickdeer.core.modules.line.entity.TLine;
import com.dingpeikeji.quickdeer.modules.rentproduct.entity.TRentgroup;

/**
 * 发布整车DAO接口
 * @author wuhao
 * @version 2016-08-08
 */
@MyBatisDao
public interface TRentgroupDao extends CrudDao<TRentgroup> {
	public TRentgroup get(Integer rentgrpid);
	public void auditRentgroup(TRentgroup rentgroup);
	public List<TRentgroup> findAllSitename(String cityname, Integer traveltype);
	public List<TRentgroup> getTravelProducts(TRentgroup tRentgroup);
	public List<Integer> getTravelProductDaysNum(TRentgroup tRentgroup);
	public List<String> getTravelProductSiteList(TRentgroup tRentgroup);
	public String getDescriptionById(String linename);
	public List<String> getTravelSiteList(TRentgroup tRentgroup);
	public List<TRentgroup> getMobileTravelProducts(TRentgroup tRentgroup);
	public TRentgroup getMobileRentgroup(Integer rentgrpid);

}